Release 10.1A: OpenEdge Deployment:
Startup Command and Parameter Reference


Printer (-o)

Specifies the printer to use.

Operating system
and syntax
UNIX
Windows
-o printername
Use
with
Maximum value
Minimum value
Single-user default
Multi-user default
Client Session
System dependent1
System dependent1
1See defaults listed below.

printername

Identifies the printer to use when processing the OUTPUT TO PRINTER statement in procedures.

In Windows, use Printer (-o) followed by the name of the printer port. For example:

-o LPT1 

If you do not use the -o parameter, Progress uses the printer specified as the default printer.

On UNIX, use Printer (-o) followed by the name of the spooler and any necessary parameters. If you do not use the -o parameter, Progress defaults to lp (System V) or lpr (BSD). If you are passing arguments with this parameter and are using a script such as PRO or one of your own, enclose the entire string in quotes so the argument to -o is returned as a single value when passed to the Progress module. For example:

-o "lp -s" 

Progress uses the spooler or printer port named at execution time rather than using the name at compile time. That way, precompiled procedures work regardless of which spooler or printer port is in effect.

To use a print spooler with spooler parameters, use OUTPUT TO PRINTER and specify the spooler parameters with -o. Use one of the following commands:

OUTPUT THROUGH lp spooler-parameters PAGED. 

OUTPUT THROUGH lpr spooler-parameters PAGED. 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095